Smallest Horn Clause Programs

نویسندگان

  • Philippe Devienne
  • Patrick Lebègue
  • Anne Parrain
  • Jean-Christophe Routier
  • Jörg Würtz
چکیده

The simplest non{trivial program pattern in logic programming is the following one : 8 < : p(fact) : p(left) p(right) : p(goal) : where fact, goal, left and right are arbitrary terms. Because the well known append program matches this pattern, we will denote such programs \append{like". In spite of their simple appearance, we prove in this paper that termination and satissability (i.e the existence of answer{substitutions, called the emptiness problem) for append{like programs are undecidable. We also study some subcases depending on the number of occurrences of variables in fact, goal, left or right. Moreover, we prove that the computational power of append{like programs is equivalent to the one of Turing machines ; we show that there exists an append{like universal program. Thus, we propose an equivalent of the BB ohm{Jacopini theorem for logic programming. This result connrms the expressiveness of logic programming. The proofs are based on program transformations and encoding of problems , unpredictable iterations within number theory deened by J.H. Con-way or the Post correspondence problem. / This paper is a survey which covers the results of 19], 20], 21] and 28].

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Stratified , Weak Stratified , and Three - valued Semantics ∗

We investigate the relationship between three-valued Kripke/Kleene semantics and stratified semantics for stratifiable logic programs. We first show these are compatible, in the sense that if the three-valued semantics assigns a classical truth value, the stratified approach will assign the same value. Next, the familiar fixed point semantics for pure Horn clause programs gives both smallest an...

متن کامل

Generalized Horn Clause Programs

This paper considers, in a general setting, an axiomatic basis for Horn clause logic programming. It characterizes a variety of \Horn-clause-like" computations, arising in contexts such as deductive databases, various abstract interpretations, and extensions to logic programming involving E-uniication, quantitative deduction, and inheritance, in terms of two simple operators , and discusses alg...

متن کامل

Horn Clause Programs with Polymorphic Types: Semantics and Resolution

This paper presents a Horn clanse logic where functions and predicates are declared with polymorphic types. Types are parameterized with type variables. This leads to an ML-like polymorphic type system. A type declaration of a function or predicate restricts the possible use of this function or predicate so that only certain terms are allowed to be arguments for this function or predicate. The ...

متن کامل

Translating propositional extended conjunctions of Horn clauses into Boolean circuits

Horn is a logic programming language which extends usual Horn clauses by adding intuitionistic implication in goals and clause bodies. This extension can be seen as a form of structuring programs in logic programming. We are interested in finding correct and efficient translations from Horn⊃ programs into some representation type that, preserving the signature, allow us suitable implementations...

متن کامل

Learning Logic Programs with Random Classification Noise

We consider the learnability of classes of logic programs in the presence of noise, assuming that the label of each example is reversed with a xed probability. We review the polynomial PAC learnability of nonrecursive, determinate, constant-depth Horn clauses in the presence of such noise. This result is extended to an analogous class of recursive logic programs that consist of a recursive clau...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • J. Log. Program.

دوره 27  شماره 

صفحات  -

تاریخ انتشار 1996